home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
FDELETE.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
1KB
|
44 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_FDelete(cFileSpec) --> nNumberFilesDeleted
PARAMETERS:
cFileSpec : a File spec. Paths and wildcards OK.
SHORT:
Delete specified file(s) from drive.
DESCRIPTION:
_FDelete() Deletes files!
NOTE:
EXAMPLE:
_FDelete('ABC.DEF')
_FDelete('*.DEF')
_FDelete("*.d??")
All three of the above accomplish the same thing.
Clipper's ferase() function does not recognize wildcards. This function
mends that.
All of the above would work equivalently. The wildcards may "take out"
other files other than ABC.DEF. For instance, the last one would also
erase ABC.DEG.
But, you know DOS filename conventions, right? I mean, you've READ
the DOS manual, right? Nudge-Nudge.... wink wink, say no more.
******************************************************************************/